<script type="text/javascript">
//list for showing and hiding years, was on kazantip
function toggleListYears() {
	var ele = document.getElementById("toggleText");
	var text = document.getElementById("displayText");
	if(ele.style.display == "block") {
    		ele.style.display = "none";
		text.innerHTML = "<?php echo $this->translate("I was on Kazantip");?>:";
  	}
	else {
		ele.style.display = "block";
		text.innerHTML = "<?php echo $this->translate("I had never been on Kazantip");?>";
	}
} 

</script>
<div id="block">
<form id="form_firstlogin" action=""
	enctype="application/x-www-form-urlencoded" method="post">
<table width="500px" cellpadding="5">
	<tr>
		<?php foreach ($this->errors['name'] as $error) ?>
			<td><?php echo $error?></td>
		<?php ?>
	</tr>
	<tr>
		<td width="200" align="right" class="txt"><?php echo $this->translate("Name")?>:</td>
		<td><input name="name" type="text" class="passportform" /></td>
	</tr>
	<tr>
		<td align="right" class="txt"><?php echo $this->translate("Surname")?>:</td>
		<td><input name="surname" type="text" class="passportform" /></td>
	</tr>
	<tr>
		<td align="right" class="txt"><?php echo $this->translate("Country")?>:</td>
		<td><label> <select name="country" class="passportform" id="select">
			<option value="Russia"><?php echo $this->translate("Russia")?></option>
			<option value="Ukraine"><?php echo $this->translate("Ukraine")?></option>
		</select> </label></td>
	</tr>
	<tr>
		<td align="right" class="txt"><?php echo $this->translate("City")?>:</td>
		<td><input name="city" type="text" class="passportform" /></td>
	</tr>
	<tr>
		<td align="right" class="txt"><?php echo $this->translate("Whom Do You feel yourself?")?>:</td>
		<td><input type="radio" name="gender" id="men" value="0"
			checked="checked" /> <label for="men"><?php echo $this->translate("Boy")?></label> <input
			type="radio" name="gender" id="gerl" value="1" /> <label for="gerl"><?php echo $this->translate("Girl")?></label></td>
	</tr>
	<tr valign="top">
		<td align="right" class="txt"><?php echo $this->translate("Your Kazantip experience?")?>:</td>
		<td><a id="displayText" href="javascript:toggleListYears();"><?php echo $this->translate("I was on Kazantip")?>:</a>
		<div id="toggleText" style="display: none; margin: 10px 0 10px 0;">
		<table class="txt">
			<tr>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td><input name="visit_1993" type="checkbox" value="1993" /></td>
				<td>1993</td>
				<td><input name="visit_1994" type="checkbox" value="1994" /></td>
				<td>1994</td>
			</tr>
			<tr>
				<td><input name="visit_1995" type="checkbox" value="1995" /></td>
				<td>1995</td>
				<td><input name="visit_1996" type="checkbox" value="1996" /></td>
				<td>1996</td>
				<td><input name="visit_1997" type="checkbox" value="1997" /></td>
				<td>1997</td>
				<td><input name="visit_1998" type="checkbox" value="1998" /></td>
				<td>1998</td>
			</tr>
			<tr>
				<td><input name="visit_1999" type="checkbox" value="1999" /></td>
				<td>1999</td>
				<td><input name="visit_2000" type="checkbox" value="2000" /></td>
				<td>2000</td>
				<td><input name="visit_2001" type="checkbox" value="2001" /></td>
				<td>2001</td>
				<td><input name="visit_2002" type="checkbox" value="2002" /></td>
				<td>2002</td>
			</tr>
			<tr>
				<td><input name="visit_2003" type="checkbox" value="2003" /></td>
				<td>2003</td>
				<td><input name="visit_2004" type="checkbox" value="2004" /></td>
				<td>2004</td>
				<td><input name="visit_2005" type="checkbox" value="2005" /></td>
				<td>2005</td>
				<td><input name="visit_2006" type="checkbox" value="2006" /></td>
				<td>2006</td>
			</tr>
			<tr>
				<td><input name="visit_2007" type="checkbox" value="2007" /></td>
				<td>2007</td>
				<td><input name="visit_2008" type="checkbox" value="2008" /></td>
				<td>2008</td>
				<td><input name="visit_2009" type="checkbox" value="2009" /></td>
				<td>2009</td>
				<td><input name="visit_2010" type="checkbox" value="2010" /></td>
				<td>2010</td>
			</tr>
		</table>
		</div>
		</td>
	</tr>
	<tr>
		<td></td>
		<td height="50" valign="bottom"><input name="" type="submit"
			value="<?php echo $this->translate("Save")?>" style="font-size: 18px;" /></td>
	</tr>
</table>

</form>
</div>
